//
//  NSObject+IMG.h
//  UILbrary
//
//  Created by Apple on 2023/3/5.
//  Copyright © 2023 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSObject (IMG)

/// 压缩图片到指定大小
- (NSData *)compressImageToData:(UIImage *)image targetSize:(NSUInteger)targetSize;

@end

NS_ASSUME_NONNULL_END
